//
//  SignInVC.m
//  SYPerfectDemo
//
//  Created by Lssyyy on 2018/11/19.
//  Copyright © 2018年 Lssyyy. All rights reserved.
//

#import "SignInVC.h"

@interface SignInVC ()

@end

@implementation SignInVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor redColor];
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
     @weakify(self)
    [self dismissViewControllerAnimated:YES completion:^{
        @strongify(self);
        !self.signInCompletionBlock?:self.signInCompletionBlock(nil);
    }];
}
@end
